package com.dwin.dingnuo.http.response;

import com.dwin.dingnuo.http.beans.BackModel;

/**
 * 首页设备列表
 */
public class RspDeviceDetail extends BackModel {

    public DeviceDetailInfo data;

    @Override
    public String toString() {
        return "RspDeviceDetail{" + "data=" + data + '}';
    }

    public class DeviceDetailInfo {
        public int id; // 设备id
        public String device_bssid;
        public int member_id; // 管理员id
        public int merchant_id;
        public int product_id;

        public int product_model_id;
        public String version;
        public String device_num;
        public String full_device_num;
        public String category_name;
        public String product_model;
        public String user_topic;
        public String user_send_topic;
        public String product_name;
        public String cpu;
        public int device_alive_or_dead;
        public String device_alive_last_time;
        public String device_dead_last_time;
        public int force_bind;

        public String terminal_sn;
        public String terminal_key;
        public String code;
        public String device_product_name;

        public MqttInfo mqtt_info;

        @Override
        public String toString() {
            return "DeviceDetailInfo{" +
                    "id=" + id +
                    ", device_bssid='" + device_bssid + '\'' +
                    ", member_id=" + member_id +
                    ", merchant_id=" + merchant_id +
                    ", product_id=" + product_id +
                    ", product_model_id=" + product_model_id +
                    ", version='" + version + '\'' +
                    ", device_num='" + device_num + '\'' +
                    ", full_device_num='" + full_device_num + '\'' +
                    ", category_name='" + category_name + '\'' +
                    ", product_model='" + product_model + '\'' +
                    ", user_topic='" + user_topic + '\'' +
                    ", user_send_topic='" + user_send_topic + '\'' +
                    ", product_name='" + product_name + '\'' +
                    ", cpu='" + cpu + '\'' +
                    ", device_alive_or_dead=" + device_alive_or_dead +
                    ", device_alive_last_time='" + device_alive_last_time + '\'' +
                    ", device_dead_last_time='" + device_dead_last_time + '\'' +
                    ", force_bind=" + force_bind +
                    ", terminal_sn='" + terminal_sn + '\'' +
                    ", terminal_key='" + terminal_key + '\'' +
                    ", code='" + code + '\'' +
                    ", device_product_name='" + device_product_name + '\'' +
                    ", mqtt_info=" + mqtt_info +
                    '}';
        }
    }

}
